home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
PCW_C.ARJ
/
WBLKWRT.C
< prev
next >
Wrap
Text File
|
1990-01-16
|
926b
|
25 lines
/***********************************************************/
/* File Id. Wblkwrt.C */
/* Author. Stan Milam. */
/* Date Written. 05/15/89. */
/* */
/* (c) Copyright 1989-90 by Stan Milam */
/* */
/* Purpose. To write an array of pointers to char to a */
/* window in one fell swoop. */
/***********************************************************/
#include <stdio.h>
#include "pcwproto.h"
int w_block_write(WNDPTR *wnd, int row, int col, char *wrkstr[]) {
int lcv, rc;
for (lcv = 0; (wrkstr[lcv] != NULL); lcv++) {
rc = wputs(wnd, lcv+row, col, wrkstr[lcv]);
if (rc == 0) return(rc);
}
return(1);
}